package com.quick.develop.business.convert;

import com.quick.develop.business.entity.EnvironmentalMonitoringConfigurationEntity;
import com.quick.develop.business.vo.EnvironmentalMonitoringConfigurationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 环境监测阈值配置
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface EnvironmentalMonitoringConfigurationConvert {
    EnvironmentalMonitoringConfigurationConvert INSTANCE = Mappers.getMapper(EnvironmentalMonitoringConfigurationConvert.class);

    EnvironmentalMonitoringConfigurationEntity convert(EnvironmentalMonitoringConfigurationVO vo);

    EnvironmentalMonitoringConfigurationVO convert(EnvironmentalMonitoringConfigurationEntity entity);

    List<EnvironmentalMonitoringConfigurationVO> convertList(List<EnvironmentalMonitoringConfigurationEntity> list);

}